<style>
  .form-inline span {min-width: 70px;}
  .form-inline .form-control {width: 140px;}
  .table td {word-break:break-all; word-wrap:break-word; overflow:hidden}
</style>
<div >
  <h4 class="inline-block mr50 mb20">账单信息</h4>
  <div class="form-inline form-group">
    <select class="form-control input-sm " ng-options="v.code as v.desc for v in billContentTypes" ng-model="list.billContentType"   >
      <option value="">--账单内容不限--</option>
    </select>
    <select class="form-control input-sm "   ng-options="v.code as v.desc for v in billStatusTypes" ng-model="list.status"   >
      <option value="">--账单状态不限--</option>
    </select>
    <div class="inline-block f12 float-right">
      <input type="text" class="form-control input-sm"  maxlength="16" size="30" ng-model="list.billNumQueryKey" placeholder="账单编号">
      <input type="text" class="form-control input-sm"  maxlength="30" size="30" ng-model="list.customerNameQueryKey" placeholder="客户名称">
      <input type="text" class="form-control input-sm"  maxlength="11" size="30" ng-model="list.customerPhoneQueryKey" placeholder="客户电话">
      <button   type="button" class="btn btn-primary btn-sm  input-sm " ng-click="submitSearch(list)">查询</button>
    </div>
  </div>


  <table class=" table   table-hover table-condensed  table-striped text-center mt20">
    <thead style="background:#8A8BC4; color: #fff">
      <tr>
        <td>账单编号</td>
        <td>账单类型</td>
        <td>账单内容</td>
        <td>客户名称</td>
        <td>客户电话</td>
        <td>支付方式</td>
        <td>金额</td>
        <td>现金</td>
        <td>抵扣券</td>
        <td>状态</td>
        <td>付款时间</td>
        <td width="20%">备注</td>
      </tr>
    </thead>

    <tbody>
      <tr ng-repeat="g in grid.result">
        <td ng-bind="g.billNumber"></td>
        <td ng-bind="g.billType"></td>  
        <td ng-bind="g.billContent"></td>
        <td ng-bind="g.customerName"></td>
        <td ng-bind="g.customerPhone"></td>
        <td ng-bind="g.payToolStr"></td>
        <td ng-bind="g.amount"></td>
        <td ng-bind="g.cashAmount "></td>
        <td>{{g.couponAmount }}({{g.couponCount||0}}张)</td>
        <td ng-bind="g.statusStr"></td>
        <td ng-bind="g.time | date:'yyyy-MM-dd HH:mm:ss'"></td>
        <td ng-bind="g.postscript"></td>
      </tr>
    <tr ng-if="!grid.result"><td colspan="12" class="f12 c-999 " >没有相关数据!</td></tr>
    </tbody>
  </table>
  <div ng-include="'/templates/partial/page.html'" style="height: 50px;background-color: #f4f4f6"></div>
</div>

